package com.eddy.liveline.message.dao;

import com.eddy.liveline.core.spring.mybatis.pagehelper.Table;
import com.eddy.liveline.message.pojo.Message;
import com.eddy.liveline.message.pojo.MessageTableQuery;

import java.util.List;

public interface MessageMapper {

    boolean batchSave(List<Message> messages);

    boolean deleteById(String id);

    boolean deleteByIds(List<String> ids);

    Message getById(String id);

    List<Message> query(MessageTableQuery messageTableQuery);

    boolean batchUpdate(List<Message> messages);
}